package com.video.system.service;

import java.util.List;
import com.video.system.domain.VideoAdvertising;

/**
 * 广告Service接口
 * 
 * @author lyh
 * @date 2021-07-31
 */
public interface IVideoAdvertisingService 
{
    /**
     * 查询广告
     * 
     * @param advertisingId 广告ID
     * @return 广告
     */
    public VideoAdvertising selectVideoAdvertisingById(Integer advertisingId);

    /**
     * 查询广告列表
     * 
     * @param videoAdvertising 广告
     * @return 广告集合
     */
    public List<VideoAdvertising> selectVideoAdvertisingList(VideoAdvertising videoAdvertising);

    /**
     * 新增广告
     * 
     * @param videoAdvertising 广告
     * @return 结果
     */
    public int insertVideoAdvertising(VideoAdvertising videoAdvertising);

    /**
     * 修改广告
     * 
     * @param videoAdvertising 广告
     * @return 结果
     */
    public int updateVideoAdvertising(VideoAdvertising videoAdvertising);

    /**
     * 批量删除广告
     * 
     * @param advertisingIds 需要删除的广告ID
     * @return 结果
     */
    public int deleteVideoAdvertisingByIds(Integer[] advertisingIds);

    /**
     * 删除广告信息
     * 
     * @param advertisingId 广告ID
     * @return 结果
     */
    public int deleteVideoAdvertisingById(Integer advertisingId);
}
